#ifndef TIMER_H_INCLUDED
#define TIMER_H_INCLUDED

#include "Singleton.h" 
#include <time.h>

// This is the better version of the timer class

class Timer : public Uncopyable
{
private:
	Timer();

public:
	~Timer();
	void Update();
	int GetFPS();
	float GetDT();
	friend class Singleton<Timer>;

private:
	float m_dt;
	float m_previousTicks;
};

typedef Singleton<Timer> TheTimer;

#endif